// @ts-ignore
import result from '/@utils/Axios.ts'

/***
 * 加载echarts数据通用方法
 * @param apiPath
 * @param method
 * @param query
 */
export function loadEchartsData(apiPath:string,method:string,query:any) {
  return result({
    url:apiPath,
    method:method,
    params:query
  })
}